* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    background-color: #3e2f29;
    width: 100%;
 
}

.top-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 8%;
    display: flex;
    align-items: center;
    color: aliceblue;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.name {
    color: white;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0;
}

.news-search {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.news-search a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding-right: 20px;
}

.news-search a:hover {
    text-decoration: underline;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    height: 28px;
    padding: 5px;
    margin-right: 5px;
}

.search-box button {
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-icon {
    height: 16px;
    margin-right: 5px;
}

.menu-background {
    width: 100%;
   
}

.pic {
    width: 100%;
    height: 400px; 
    background-image: url("Snimki/background2.jpg");
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
     padding-bottom: 40px;
}
.menu-background {
    width: 100%;
   
}
.menu {
    background: black;
    height: 50px;
    background-color: #3e2f29;
}

.menu-1 {
    display: flex;
    list-style: none;
}
.menu-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 15px 20px;
    margin-left: 40px;
    border: 2px solid transparent;

}

.menu-link:hover {
    border-color: white;
    color:#3e2f29;
    background-color: white;
    border-radius: 10px;
}
.tekst-background{
left: 50%;
color: white;
 padding-top: 10%;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;;
 padding-left: 50px;
font-size: 250%;
border: shadowed 2px solid white;
text-align: center;
}
.text{
    text-align: center;
}
.mini-tekst{
    font-size: 20px;
    color: white;
}
.tekst-za-nas {
    margin-top: 5px;
    margin-bottom: 50px;
    margin-left: 50px;
    margin-right: 50px; 
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 18px;
}

.zaglavie-za-nas {
    margin-bottom: 0;
    margin-left: 50px; 
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 28px;
}

.za-nas {
    margin-top: 30px;
    padding-left: 30px;
}
body
{
       background-color:rgb(230, 224, 217)
}
.box-cont {
    border: 2px solid white;
    border-radius: 15px;
    margin: 30px;
    background-color: white;
    display: flex;
    padding: 30px;
}

.pic-ekip {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.member {
  
    text-align: center;
    width:400px;
    padding-left: 20px;
}
.about-us-pic {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
}
.name1 {
    margin-top: 10px;
    font-weight: bold;
    color: #3e2f29;
}
.nashite-idei {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 22px;
    margin-top: 20px;
}
.site-footer{
    background-color: #1f1f1f;
    color: #eaeaea;
    padding: 40px 20px 20px;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.tekst-background{
left: 50%;
color: white;
 padding-top: 10%;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
 padding-left: 50px;
font-size: 250%;
border: shadowed 2px solid white;
text-align: center;

}

.site-footer {
    background-color: #1f1f1f;
    color: #eaeaea;
    padding: 40px 20px 20px;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
    flex-shrink: 0;
}

.footer-cont {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0 0 20px;
    flex-wrap: wrap;
}

.footer-cont a {
    color: #eaeaea;
    text-decoration: none;
    font-size: 15px;
}

.footer-cont a:hover {
    color: #4da3ff;
}

.socialni-mreji {
    display: flex;
    gap: 10px;
    margin-top: 5px;

}
.fa {
  font-size: 60px;
 
}
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .news-search {
        margin-left: 0;
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .menu {
        width: 100%;
        overflow-x: auto;
    }

    .menu-1 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
    }

    .menu-link {
        margin: 0;
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
        border: none;
    }

    .menu-link:hover {
        background: none;
        color: white;
    }

    .pic {
        height: 260px;
        background-size: cover;
    }

    .tekst-background {
        font-size: 180%;
        padding-left: 15px;
        padding-top: 20%;
        left: 0;
        text-align: center;
    }

    .mini-tekst {
        font-size: 16px;
        padding: 0 15px;
        text-align: center;
    }

    .zaglavie-za-nas {
        margin-left: 0;
        text-align: center;
        font-size: 24px;
    }

    .tekst-za-nas {
        margin: 20px;
        font-size: 16px;
        text-align: center;
    }

    .za-nas {
        padding-left: 0;
    }

    .box-cont {
        flex-direction: column;
        padding: 20px;
        margin: 15px;
    }

    .pic-ekip {
        justify-content: center;
    }

    .member {
        width: 100%;
        padding-left: 0;
    }

    .about-us-pic {
        height: auto;
    }

    .nashite-idei {
        text-align: center;
        font-size: 20px;
    }

    .footer-cont {
        flex-direction: column;
        gap: 15px;
    }

    .socialni-mreji {
        justify-content: center;
    }

    .fa {
        font-size: 40px;
    }
}
